// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router/router'
import store from './store/store'
import axios from './http/http'
import fastClick from '../static/fastclick.min'
import setTitle from './assets/js/setDocumentTitle'
import api from './http/api'
import './assets/css/resize.scss'
import './assets/css/edom.scss'
import './styles/layout.scss'
import './styles/form.scss'
import './styles/title.scss'
import './styles/border.scss'
import './styles/button.scss'
import './styles/global.scss'
import './styles/animation.scss'
import '../static/iconfont.css'

Vue.prototype.axios = axios
Vue.prototype.setTitle = setTitle
Vue.prototype.api = api
fastClick.attach(document.body)
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  axios,
  template: '<App/>',
  components: { App }
})
